Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused property, fixes #79 #80

Merged
merged 1 commit into from Apr 4, 2013
Merged

Conversation

Seldaek
Copy link
Contributor

@Seldaek Seldaek commented Apr 4, 2013

So what happened is that you removed the private $nbPages;, which means the property wasn't declared anymore. Setting it to null declares a new public property (yay dynamic languages:p), and then twig sees that and reads it out instead of looking for a getter as it did before when it was private.

pablodip added a commit that referenced this pull request Apr 4, 2013
Remove unused property, fixes #79
@pablodip pablodip merged commit 4fded9a into whiteoctober:master Apr 4, 2013
@pablodip
Copy link
Contributor

pablodip commented Apr 4, 2013

Thanks! ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants